package com.wsh.base;

import lombok.Data;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * 数据展示（附件、实体）
 * @param <T>
 */
@Data
public class BaseVo<T> implements Serializable {

    private List<Map<String, Object>> formFileList;

    private T form;

    public BaseVo(T form, List<Map<String, Object>> formFileList) {
        this.formFileList = formFileList;
        this.form = form;
    }

    public BaseVo(T form) {
        this.form = form;
    }
}
